import java.util.concurrent.Callable;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2025-04-26
 * Time: 19:53
 */
public class demo1 {
    public static void main(String[] args) {
        Callable<Integer> callable = new Callable<Integer>() {
            @Override
            public Integer call() throws Exception {
                int result = 0;
                for (int i = 0; i < 100; i++) {
                    result += i;
                }
                return result;
            }
        }
    }
}
